package com.wframe.project.jnd.entity;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.math.BigInteger;

/**
 * Created by lwb on 2017/5/31.
 */
public class FlashSalePromotion extends Promotion {

    @Column(name = "fsid")
    private Integer fsId;

    @Column(name = "count_down")
    private Byte countDown;

    private BigDecimal price;

    private Integer amount;

    @Column(name = "sold_amount")
    private Integer soldAmount;

    private BigInteger endDate;

    private BigInteger now;

    private Integer productid;

    private Long surplusSeconds;

    private Integer times;

    public Integer getFsId() {
        return fsId;
    }

    public void setFsId(Integer fsId) {
        this.fsId = fsId;
    }

    public Byte getCountDown() {
        return countDown;
    }

    public void setCountDown(Byte countDown) {
        this.countDown = countDown;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getSoldAmount() {
        return soldAmount;
    }

    public void setSoldAmount(Integer soldAmount) {
        this.soldAmount = soldAmount;
    }

    public BigInteger getEndDate() {
        return endDate;
    }

    public void setEndDate(BigInteger endDate) {
        this.endDate = endDate;
    }

    public BigInteger getNow() {
        return now;
    }

    public void setNow(BigInteger now) {
        this.now = now;
    }

    public Integer getProductid() {
        return productid;
    }

    public void setProductid(Integer productid) {
        this.productid = productid;
    }

    public Long getSurplusSeconds() {
        return surplusSeconds;
    }

    public void setSurplusSeconds(Long surplusSeconds) {
        this.surplusSeconds = surplusSeconds;
    }

    public Integer getTimes() {
        return times;
    }

    public void setTimes(Integer times) {
        this.times = times;
    }
}
